<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>更改部门信息</title>
	<script src=" Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
	<script src=" Scripts/jquery-ui-1.8.custom.min.js" type="text/javascript"></script>
	
	<script type="text/javascript" src="Scripts/ui.validation.js?rand="></script>
	<link rel="stylesheet" href="css/ui.validation.css" type="text/css"></link>

    <script type="text/javascript">
	$(function () {
	    setValidate();
	});
	
	function setValidate(){
	    
   	 $("#form").validatingForm({
       	submitButtonId:"#btnSubmit",
       	clearErrorsOnFocus:true,
       	validateOnBlur:true,
       	summaryTo:"#errorSummary"
       });
   }
</script>
     <style type="text/css">
	<!--
	body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
	}
	.STYLE19 {
		color: #344b50;
		font-size: 12px;
	}
	-->
</style>
</head>
<body>
<form action="updateSection.action" method="post">
<table  id="form" width="30%" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr><td colspan="4" height="31" align="center" bgcolor="#FFFFFF" class="STYLE19"><strong>更改部门</strong><input type="hidden" name="sectionId" value="${sectionInfo.sectionId}" /></td></tr>
			<tr>
			<td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19">部门名：</td><td height="25" align="center" bgcolor="#FFFFFF" class="STYLE19"><input id="sectionName" fieldName="部门名" class="required-field" type="text" name="sectionName" value="${sectionInfo.sectionName}"/></td></tr>
			
			<tr><td colspan="4" height="25" align="center" bgcolor="#FFFFFF" class="STYLE19"><input id="btnSubmit" type="submit" value="修改" /></td></tr>
			<tr><td colspan="4" align="center"><div id="errorSummary" ></div></td></tr>
</table>
	</form>
</body>
</html>